home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / background_4568.txt < prev    next >
Text File  |  1990-03-19  |  4KB  |  179 lines

  1. -- background: 4568 from stack: in
  2. -- bmap block id: 6012
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6.  
  7.  
  8. -- part 13 (field)
  9. -- low flags: 01
  10. -- high flags: 0000
  11. -- rect: left=127 top=43 right=78 bottom=512
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 14
  16. -- text size: 14
  17. -- style flags: 256
  18. -- line height: 18
  19. -- part name: subHeader
  20.  
  21.  
  22. -- part 5 (field)
  23. -- low flags: 01
  24. -- high flags: 0000
  25. -- rect: left=127 top=78 right=341 bottom=510
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 156
  30. -- text size: 14
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: cardText
  34.  
  35.  
  36. -- part 1 (button)
  37. -- low flags: 00
  38. -- high flags: 2000
  39. -- rect: left=428 top=317 right=342 bottom=456
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 18611 / 18611
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: prev
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   visual effect scroll right
  51.   if the short name of this card is "F&b 11" then play "music.resource"
  52.   go prev
  53. end mouseUp
  54.  
  55.  
  56.  
  57. -- part 3 (button)
  58. -- low flags: 00
  59. -- high flags: 2000
  60. -- rect: left=484 top=317 right=342 bottom=512
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 18613 / 18613
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: return
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   global lastPush
  72.   pop card into lastPush
  73.   if the short name of this stack is not in lastPush then
  74.     visual dissolve
  75.     go to card id 25310
  76.   else
  77.     visual dissolve
  78.     go lastPush
  79.   end if
  80. end mouseUp
  81.  
  82.  
  83. -- part 9 (field)
  84. -- low flags: 01
  85. -- high flags: 0000
  86. -- rect: left=128 top=0 right=22 bottom=511
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 0 / 0
  89. -- text alignment: 0
  90. -- font id: 21
  91. -- text size: 18
  92. -- style flags: 10240
  93. -- line height: 19
  94. -- part name: Title
  95.  
  96.  
  97. -- part 4 (field)
  98. -- low flags: 01
  99. -- high flags: 0000
  100. -- rect: left=127 top=22 right=43 bottom=512
  101. -- title width / last selected line: 0
  102. -- icon id / first selected line: 0 / 0
  103. -- text alignment: 0
  104. -- font id: 21
  105. -- text size: 18
  106. -- style flags: 0
  107. -- line height: 20
  108. -- part name: cardTitle
  109.  
  110.  
  111. -- part 11 (field)
  112. -- low flags: 81
  113. -- high flags: 0000
  114. -- rect: left=0 top=330 right=342 bottom=96
  115. -- title width / last selected line: 0
  116. -- icon id / first selected line: 0 / 0
  117. -- text alignment: 0
  118. -- font id: 3
  119. -- text size: 9
  120. -- style flags: 0
  121. -- line height: 9
  122. -- part name: cardName
  123.  
  124.  
  125. -- part 14 (field)
  126. -- low flags: 81
  127. -- high flags: 0007
  128. -- rect: left=0 top=277 right=330 bottom=123
  129. -- title width / last selected line: 0
  130. -- icon id / first selected line: 0 / 0
  131. -- text alignment: 0
  132. -- font id: 3
  133. -- text size: 9
  134. -- style flags: 0
  135. -- line height: 12
  136. -- part name: notes
  137.  
  138.  
  139. -- part 17 (button)
  140. -- low flags: 00
  141. -- high flags: 2000
  142. -- rect: left=455 top=317 right=342 bottom=483
  143. -- title width / last selected line: 0
  144. -- icon id / first selected line: 18612 / 18612
  145. -- text alignment: 1
  146. -- font id: 0
  147. -- text size: 12
  148. -- style flags: 0
  149. -- line height: 16
  150. -- part name: next
  151. ----- HyperTalk script -----
  152. on mouseUp
  153.   visual scroll left
  154.   if the short name of this card is "f&B 9" then play "music.resource"
  155.   go next
  156. end mouseUp
  157.  
  158.  
  159.  
  160. -- part 21 (button)
  161. -- low flags: 00
  162. -- high flags: A000
  163. -- rect: left=449 top=3 right=18 bottom=510
  164. -- title width / last selected line: 0
  165. -- icon id / first selected line: 0 / 0
  166. -- text alignment: 0
  167. -- font id: 3
  168. -- text size: 10
  169. -- style flags: 2048
  170. -- line height: 13
  171. -- part name: Contents
  172. ----- HyperTalk script -----
  173. on mouseUp
  174.   push card
  175.   visual effect dissolve
  176.   go card "content 0"
  177. end mouseUp
  178.  
  179.